﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Report.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Holiday Report
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        Holiday Report</h1>
    <br />
    <table class="data-table" width="64%">
        <thead>
            <tr>
                <th>
                    Data
                </th>
                <th>
                    Holiday
                </th>
            </tr>
        </thead>
        <tbody>
        <% For Each item In ViewData("Holidays")%>
        <tr>
            <td>
                <%: String.Format("{0:d-MMM-yyyy}", item.HolidayDate)%>
            </td>
            <td>
                <%: item.Description%>
            </td>
        </tr>
        <% Next%>
        </tbody>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FormContent" runat="server">
    <%= Html.Hidden("txtDateFrom", ViewData("DateFrom"))%>
    <%= Html.Hidden("txtDateTo", ViewData("DateTo"))%>
</asp:Content>
